'use strict'
const REQUEST_METHOD_GET = 'GET';
const REQUEST_METHOD_POST = 'POST';

//请求地址前缀
//var rlink = 'http://www.liyangpt.com/index.php/api/';
 var  rlink ='https://mcc.huotukj.com/index.php/api/';
  //var  rlink ='http://fy.xsdragon.com/index.php/api/';
const HttpServerHostAddress = rlink;
//用户-包年包月
const getviplist = 'xiservice.vip/lists'
const createviporder = 'xiservice.vip/createviporder'
//用户-合同
const getcontact = 'xiservice.contact/lists'
const getcontactdetail = 'xiservice.contact/detail'
//用户-分销
const getbelow = 'xiservice.dividend/below'
const getdividentlist = 'xiservice.dividend/list'
const getcensus = 'xiservice.dividend/census'
//用户-首页
const getlocation = 'xiservice.city/location';
const getunread = 'xiservice.message/get_unread';
const getbannerlist = 'xiservice.banner/list';
const getcategorylist = 'xiservice.service_category/indexlist';
const getservicecatgory = 'xiservice.service/index_categorylist';
//用户-分类
const getservicesecond = 'xiservice.service/second_categorylist';
const getcategory = 'xiservice.service_category/categorylist';
//服务-列表
const servicelist = 'xiservice.service/list';
//商品列表 productlist
const shoplist = 'xiservice.service/getshoplist';
const productlist = 'xiservice.service/getproductlist';
const getproductdetail =  'xiservice.service/getproductdetail';
const getshopdetail =  'xiservice.service/getshopdetail';

//服务-收藏
const setcollect = 'xiservice.collect/set';
const servicedetail = 'xiservice.service/detail';
//文章详情
const articledetail = 'xiservice.Article/detail';
const articlelist = 'xiservice.Article/list';
//评论列表
const commentlist = 'xiservice.service/comment';

// 协议
// const agreement = 'api/xiservice/user/checkincontract'

//个人--用户信息
const getuserinfo = 'xiservice.user/profile';
//配置文件
const getconfig = 'xiservice.user/miniconfig';
//手机号码
const getwxmobile = 'xiservice.user/wxNumberEncrypted';
//微信登录
const wxlogin = 'xiservice.user/wxlogin';
//上传头像
const uploadpic = 'common/upload';
//编辑用户信息
const edituser = 'xiservice.user/edit_profile';
//地址信息
const addresslist = 'xiservice.address/list';
//地址详细
const addressdetail = 'xiservice.address/detail';
//地址编辑
const editaddr = "xiservice.address/edit";
//服务收藏列表
const collectlist = "xiservice.collect/list";
//服务收藏
const collectset = "xiservice.collect/set";
//常见问题
const questionlist = "xiservice.question/list";
//问题详细
const questiondetail = "xiservice.question/detail";
//海报
const getposter = 'xiservice.user/poster';
const agreement = 'xiservice.user/agreement';
//订单
const getdatelist = 'xiservice.worker/datelist';
const update_user_apply_city = 'xiservice.worker/update_user_apply_city';
const update_user_apply_bank = 'xiservice.worker/update_user_apply_bank';
const update_user_apply_image = 'xiservice.worker/update_user_apply_image';

const quotelist = 'xiservice.worker/quotelist';
const getordertimelist = 'xiservice.schedule/ordertimelist';
const getordernum = 'xiservice.order/order_num';
const getorderlist = 'xiservice.order/list';
const getpxorderlist = 'xiservice.order/pxlist';
const orderdetail = 'xiservice.order/detail';
const detailexpert = 'xiservice.order/detailexpert';
const changeordertime = 'xiservice.order/change';
const cancelorder = 'xiservice.order/cancel';
const acceptorder='xiservice.order/acceptorder';
const finishorder = 'xiservice.order/finish';
const checknoorder = 'xiservice.order/checknoorder';
const cancelrefund = 'xiservice.order/cancelrefund';
const payorder = 'xiservice.order/payorder';
const updateorderamount = 'xiservice.order/updateorderamount';
const updateordercheckimages = 'xiservice.order/updateordercheckimages';

const payconfig = 'xiservice.order/payconfig';
const ordershow = "xiservice.order/show";
const createorder = "xiservice.order/create";
const createexpertorder = "xiservice.order/createexpert";

const commentorder = "xiservice.order/comment";
const refund = "xiservice.order/refund";
//消息接口
const getlastmsg = 'xiservice.message/lastest_msg';
const getmessagelist = 'xiservice.message/list';
const messagesetread = 'xiservice.message/set_read';
//师傅端
const workerinfo = 'xiservice.worker/info';
const workernumorder = 'xiservice.order/worker_ordernum';
const workerorderlist = "xiservice.order/worker_orderlist";
const orderdiagnose = "xiservice.order/orderdiagnose";

const confirmorder = 'xiservice.worker/sureorder';
const refusemorder = 'xiservice.worker/refusemorder';
const workercancelorder = "xiservice.worker/cancelorder";
const startorder = "xiservice.worker/startorder";
const inputorder = "xiservice.worker/inputorder";
const setworkstatus = "xiservice.schedule/set_workstatus";
const workerorderdetail = 'xiservice.order/worker_orderdetail';
const workersureorder = 'xiservice.worker/sureorder';
const workerrefuseorder = 'xiservice.worker/refuseorder';
const missionlist = 'xiservice.order/mission_orderlist';
const graorder = 'xiservice.worker/graborder';
const workerschedule = 'xiservice.worker/schedule';
const chosetime = 'xiservice.worker/chosetime';
const setworktime = 'xiservice.schedule/set_worktime';
const benfitlist = 'xiservice.benfit/list';
const withdrawlist = "xiservice.withdraw/list";
const applywithdraw = "xiservice.withdraw/apply";
const servicetaglist = "xiservice.worker/servicetaglist";
const secondcategorylist = "xiservice.service_category/second_categorylist";
const secondexpertcategorylist = "xiservice.service_category/second_expertcategorylist";

const taglist = "xiservice.service_category/servicetaglist";
const workeredit = "xiservice.worker/edit";
const workerapply = "xiservice.worker/apply";
const searchcity = "xiservice.city/searchCity";
const citylist = "xiservice.city/getLetterCity";
const opencitylist = "xiservice.city/getOpenCity";
const workerlist = "xiservice.worker/list";
const warehousing = "xiservice.worker/warehousing";
const gettraindetail = "xiservice.worker/gettraindetail";
const getgoodlist = "xiservice.order/getgoodlist";
const commontime = "xiservice.worker/common_timelist";
const workercomment = "xiservice.service/worker_comment";
const checkorder = "xiservice.worker/checkorder";
const bindAxb = "xiservice.worker/bindAxb";
const getdepositmoney = "xiservice.worker/getdepositmoney";
const getpxlist  = "xiservice.service/getpxlist";
const getpxtime  = "xiservice.service/getpxtime";
const getpxdetail = "xiservice.service/getpxdetail";
const smssend = "sms/send";
const smscheck = "sms/check";
const expertlist = "xiservice.service/expertlist";
module.exports = {
	expertlist,
  HttpServerHostAddress,
  REQUEST_METHOD_GET,
  REQUEST_METHOD_POST,
  searchcity,
  taglist,
  refund,
  workercomment,
  commentorder,
  orderdetail,
  createorder,
  ordershow,
  setworkstatus,
  inputorder,
  startorder,
  confirmorder,
  refusemorder,
  workernumorder,
  messagesetread,
  getlastmsg,
  editaddr,
  getconfig,
  getlocation,
  getdividentlist,
  getunread,
  getbannerlist,
  getcategory,
  getcategorylist,
  getservicecatgory,
  getservicesecond,
  servicelist,
  setcollect,
  servicedetail,
  articledetail,
  articlelist,
  commentlist,
  getuserinfo,
  getwxmobile,
  wxlogin,
  uploadpic,
  edituser,
  addresslist,
  addressdetail,
  collectlist,
  collectset,
  questionlist,
  questiondetail,
  getposter,
  getdatelist,
  quotelist,
  getordertimelist,
  getordernum,
  getorderlist,
  getpxorderlist,
  changeordertime,
  cancelorder,
  acceptorder,
  finishorder,
  cancelrefund,
  payorder,
  payconfig,
  getmessagelist,
  workerinfo,
  workerorderlist,
  workercancelorder,
  workerorderdetail,
  workersureorder,
  workerrefuseorder,
  missionlist,
  graorder,
  workerschedule,
  chosetime,
  setworktime,
  benfitlist,
  withdrawlist,
  applywithdraw,
  servicetaglist,
  secondcategorylist,
  workeredit,
  workerapply,
  getcensus,
  citylist,
  opencitylist,
  getcontactdetail,
  getcontact,
  workerlist,
  commontime,
  getbelow,
  getviplist,
  checkorder,
  checknoorder,
  createviporder,
  updateorderamount,
  getdepositmoney,
  updateordercheckimages,
  shoplist,
  productlist,
  getproductdetail,
  getshopdetail,
  getpxlist,
  getpxtime,
  getpxdetail,
  warehousing,
  gettraindetail,
  bindAxb,
  smssend,
  smscheck,
  agreement,
  getgoodlist,
  secondexpertcategorylist,
  createexpertorder,
  orderdiagnose,
  detailexpert,
  update_user_apply_city,
  update_user_apply_bank,
  update_user_apply_image
};